const memberColumns = {
  list1: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: {
        filterDropdown: 'filterRange'
      },
      sorter: true
    },
    {
      title: '今日业绩',
      dataIndex: 'jr_yj',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true,
      needTotal: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  list2: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: {
        filterDropdown: 'filterRange'
      },
      sorter: true
    },
    {
      title: '当月业绩',
      dataIndex: 'dy_yj',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  list3: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: {
        filterDropdown: 'filterRange'
      },
      sorter: true
    },
    {
      title: '上月业绩',
      dataIndex: 'sy_yj',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  ts1: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: {
        filterDropdown: 'filterRange'
      },
      sorter: true
    },
    {
      title: '今日通时',
      dataIndex: 'jr_ts',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  ts2: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: { filterDropdown: 'filterDropdown' }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '当月通时',
      dataIndex: 'dy_ts',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  ts3: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '上月通时',
      dataIndex: 'sy_ts',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  lx1: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '当日领新',
      dataIndex: 'jr_lx',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  lx2: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '当月领新',
      dataIndex: 'dy_lx',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  lx3: [
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '顾问',
      dataIndex: 'uid',
      scopedSlots: {
        customRender: 'uid',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '组长',
      dataIndex: 'leader_name',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '上月领新',
      dataIndex: 'sy_lx',
      scopedSlots: { customRender: 'jr_yj' },
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  performance: [
    {
      title: '组长',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name',
      key: 'adviser_name'
    },
    {
      title: '入职时间',
      dataIndex: 'egis_at',
      key: 'egis_at'
    },
    {
      title: '业绩',
      dataIndex: 'performance',
      key: 'performance'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  calltime: [
    {
      title: '组长',
      dataIndex: 'leader_name',
      key: 'leader_name'
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name',
      key: 'adviser_name'
    },
    {
      title: '入职时间',
      dataIndex: 'egis_at',
      key: 'egis_at'
    },
    {
      title: '通时',
      dataIndex: 'ts',
      key: 'ts'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  getnum: [
    {
      title: '组长',
      dataIndex: 'leader_name',
      key: 'leader_name'
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name',
      key: 'adviser_name'
    },
    {
      title: '入职时间',
      dataIndex: 'egis_at',
      key: 'egis_at'
    },
    {
      title: '领新',
      dataIndex: 'lx',
      key: 'lx'
    },
    {
      title: '操作',
      dataIndex: 'action',
      key: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  inc: [
    {
      title: '用户名',
      dataIndex: 'username',
      scopedSlots: {
        customRender: 'username',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '用户类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: 'ISO', value: 'iso' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '工作台/角色',
      dataIndex: 'group_role'
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '在职/离职',
      dataIndex: 'work_status',
      scopedSlots: {
        customRender: 'work_status'
      }
    },
    {
      title: '用户状态',
      dataIndex: 'status',
      scopedSlots: {
        customRender: 'status'
      }
    },
    {
      title: '每天初始资源数',
      dataIndex: 'resource_daily_num_limit',
      scopedSlots: {
        customRender: 'resource_daily_num_limit'
      }
    },
    {
      title: '本月业绩目标',
      dataIndex: 'target_currmonth_yj',
      scopedSlots: {
        customRender: 'target_currmonth_yj'
      }
    },
    {
      title: '每天电话目标',
      dataIndex: 'target_dacall_sc',
      scopedSlots: {
        customRender: 'target_dacall_sc'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  linc: [
    {
      title: '用户名',
      dataIndex: 'username',
      scopedSlots: {
        customRender: 'username',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '用户类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '工作台/角色',
      dataIndex: 'group_role'
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '在职/离职',
      dataIndex: 'work_status',
      scopedSlots: {
        customRender: 'work_status'
      }
    },
    {
      title: '用户状态',
      dataIndex: 'status',
      scopedSlots: {
        customRender: 'status'
      }
    },
    {
      title: '本月业绩目标',
      dataIndex: 'target_currmonth_yj',
      scopedSlots: {
        customRender: 'target_currmonth_yj'
      }
    },
    {
      title: '每天电话目标',
      dataIndex: 'target_dacall_sc',
      scopedSlots: {
        customRender: 'target_dacall_sc'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  sinc: [
    {
      title: '用户名',
      dataIndex: 'username',
      scopedSlots: {
        customRender: 'username',
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '用户类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '工作台/角色',
      dataIndex: 'group_role'
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '用户状态',
      dataIndex: 'status',
      scopedSlots: {
        customRender: 'status'
      }
    },
    {
      title: '每天初始资源数',
      dataIndex: 'resource_daily_num_limit',
      scopedSlots: {
        customRender: 'resource_daily_num_limit'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  leave: [
    {
      title: '用户名',
      dataIndex: 'username',
      scopedSlots: {
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '用户类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '工作台/角色',
      dataIndex: 'group_role'
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      scopedSlots: { filterDropdown: 'filterRange' },
      sorter: true
    },
    {
      title: '在职/离职',
      dataIndex: 'work_status',
      scopedSlots: {
        customRender: 'work_status'
      }
    },
    {
      title: '用户状态',
      dataIndex: 'status',
      scopedSlots: {
        customRender: 'status'
      }
    },
    {
      title: '每天初始资源数',
      dataIndex: 'resource_daily_num_limit',
      scopedSlots: {
        customRender: 'resource_daily_num_limit'
      }
    },
    {
      title: '本月业绩目标',
      dataIndex: 'target_currmonth_yj',
      scopedSlots: {
        customRender: 'target_currmonth_yj'
      }
    },
    {
      title: '每天电话目标',
      dataIndex: 'target_dacall_sc',
      scopedSlots: {
        customRender: 'target_dacall_sc'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  check: [
    {
      title: '组长',
      dataIndex: 'leader_name',
      width: '300px',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '顾问',
      dataIndex: 'adviser_name',
      width: '300px',
      scopedSlots: {
        filterDropdown: 'filterSelect'
      }
    },
    {
      title: '顾问类型',
      dataIndex: 'group_type',
      scopedSlots: { customRender: 'group_type' },
      filters: [
        { text: '商标', value: 'tm' },
        { text: '专利', value: 'pt' },
        { text: '售后', value: 'sh' }
      ],
      filterMultiple: false
    },
    {
      title: '入职时间',
      dataIndex: 'hiredate',
      sorter: true
    },
    {
      title: '状态',
      dataIndex: 'check_status',
      scopedSlots: {
        customRender: 'status'
      },
      filters: [
        {
          text: '未审核',
          value: '0'
        },
        {
          text: '审核不过',
          value: '3'
        },
        {
          text: '审核通过',
          value: '6'
        }
      ],
      filterMultiple: false,
      onFilter: (value, record) => record.check_status.indexOf(value) === 0
    },
    {
      title: '审核备注',
      dataIndex: 'check_note',
      scopedSlots: {
        filterDropdown: 'filterDropdown'
      }
    },
    {
      title: '提交时间',
      dataIndex: 'updated_at',
      sorter: true,
      width: '180px',
      scopedSlots: {
        filterDropdown: 'filterRange',
        customRender: 'updated_at'
      }
    },
    {
      title: '操作',
      dataIndex: 'action',
      width: '150px',
      scopedSlots: {
        customRender: 'action'
      }
    }
  ],
  timeout: [
    {
      title: '所属组长',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问姓名',
      dataIndex: 'username'
    },
    {
      title: '超时客户数',
      dataIndex: 'num',
      scopedSlots: { customRender: 'timeout_num' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' },
      width: '300px'
    }
  ],
  outlist: [
    {
      title: '客户姓名',
      dataIndex: 'customer_name',
      scopedSlots: { customRender: 'customer_name' }
    },
    {
      title: '联系电话',
      dataIndex: 'phone'
    },
    {
      title: '领取时间',
      dataIndex: 'received_at'
    },
    {
      title: '预约联系时间',
      dataIndex: 'yy_time'
    },
    {
      title: '最后一次联系时间',
      dataIndex: 'lately_contact_time'
    }
  ],
  receive: [
    {
      title: '所属组别',
      dataIndex: 'group_type'
    },
    {
      title: '所属组长',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问姓名',
      dataIndex: 'adviser_name'
    },
    {
      title: '领取数量',
      dataIndex: 'num',
      scopedSlots: { customRender: 'receive_num' }
    }
  ],
  adviser_receive: [
    {
      title: '信息来源',
      dataIndex: 'source',
      scopedSlots: { customRender: 'source' },
      filters: [
        { text: '网站咨询', value: '10' },
        { text: '人工录入', value: '20' },
        { text: '黄页客户', value: '30' },
        { text: '二次资源', value: '40' },
        { text: '商务通400', value: '50' },
        { text: '老客户后台专利资源', value: '60' },
        { text: '老客户后台专利资源', value: '70' },
        { text: '商标资源介绍客户', value: '80' },
        { text: '人工导入', value: '90' }
      ],
      filterMultiple: false,
      onFilter: (value, record) => record.source.indexOf(value) === 0
    },
    {
      title: '客户电话',
      dataIndex: 'phone'
    },
    {
      title: '入库时间',
      dataIndex: 'created_at',
      scopedSlots: { filterDropdown: 'filterRange1' },
      sorter: true
    },
    {
      title: '领取时间',
      dataIndex: 'received_at',
      scopedSlots: { filterDropdown: 'filterRange2' },
      sorter: true
    },
    {
      title: '领取人',
      dataIndex: 'receive_name'
    }
  ]
}

export default memberColumns
